package kr.co.handysoft.smartPolice.server;

import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;

public class PoliceMiddleServer9001 {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		
		ServerSocket serverSocket = new ServerSocket(9001);

		while(true){
			try {
				new ZoneHandler(serverSocket.accept()).start();
			} catch (IOException e) {
				e.printStackTrace();
			}
		}

	}

}
